﻿using System;
using HAVNet.Core;


namespace HAVNet.Intros.AST
{
    public class ASTEmbStmtReturn : ASTStatement
    {
        public ASTExpr expression { get; set; }

        public void romper ()
        {
            expression = null;
        }

        public override string ToString ()
        {
            return "return " + Lazy.toStringNN(expression, "") + ";";
        }
    }
}
